package com.lzymall.service;

import com.github.pagehelper.PageInfo;
import com.lzymall.common.ServiceResponse;
import com.lzymall.pojo.Shipping;

/**
 * @Author: lizhenyao
 * @Desciption:
 */
public interface IShippingService {

    ServiceResponse add(Integer userId, Shipping shipping);

    ServiceResponse<String> del(Integer id, Integer shippingId);

    ServiceResponse update(Integer id, Shipping shipping);

    ServiceResponse<Shipping> search(Integer id, Integer shippingId);

    ServiceResponse<PageInfo> list(Integer userId, Integer pageNum, Integer pageSize);
}
